package com.itmuch.core.exception;

import com.itmuch.core.constant.ConstantCode;

public class BaseException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	private long errorCode = ConstantCode.UNKNOW_ERROR_CODE;

	public BaseException() {
		super();
	}

	public BaseException(String message) {
		super(message);
	}

	public long getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(long errorCode) {
		this.errorCode = errorCode;
	}
}
